//
//  huaiheMeditationVC.m
//  huaihe
//
//  Created by 暗流澎涌 on 2024/3/8.
//

#import "huaiheMeditationVC.h"
#import "huaiheMetadionDetailVC.h"
@interface huaiheMeditationVC ()

@end

@implementation huaiheMeditationVC
-(void)viewWillAppear:(BOOL)animated{
    [super viewWillAppear:animated];
    [self.navigationController.navigationBar setHidden: YES];
}

- (void)viewWillDisappear:(BOOL)animated
{
    [super viewWillDisappear:animated];
    [self.navigationController.navigationBar setHidden: NO];
}
- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
}

- (IBAction)backToHome:(id)sender {
    
    [self.navigationController popViewControllerAnimated:YES];
}


- (IBAction)clickToPlay:(id)sender {
    UIButton * but = (UIButton*)sender;
    huaiheMetadionDetailVC * vc = [[huaiheMetadionDetailVC alloc]init];
    vc.tag = but.tag;
    [self.navigationController pushViewController:vc animated:YES];
    
}

@end
